package com.tinxing.bp.commons.utils.exception;

import static com.tinxing.bp.commons.utils.ToolUtil.formats;

/**
 * 业务提示异常
 * @author yangxianghua, 2018年11月1日 下午10:29:36
 */
public class TipsException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public TipsException(String message, Throwable cause) {
        super(message, cause);
    }

    public TipsException(String message) {
        super(message);
    }

    public TipsException(String message, Object... objects) {
        super(formats(message, objects));
    }
}
